package com.xinghanlaser.applet.base.auth.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Set;

/**
 * <p>
 *
 * <p>
 *
 * @author: mftuo 陀铭峰
 * @since: 2024/4/30 9:56
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class RolePostVO {
    @ApiModelProperty(value = "角色代码")
    @NotBlank(message = "角色代码不能为空")
    private String roleCode;

    @ApiModelProperty(value = "角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @ApiModelProperty("资源id列表")
    private Set<Long> resourceIds;
}
